package com.rxst.msg.enums;

/**
 * Excel 枚举值
 *
 * @author zgs
 */
public enum ExcelEnum {

    ERROR_FILE(1,"导入文件不能为空"),
    ERROR_LISTENER(2,"监听器不能为空"),
    ERROR_SHEET(3,"sheet不能为空"),
    ERROR_SHEETS(4,"sheet集合不能为空"),
    ERROR_READ(5,"读取文件错误"),
    SUCCESS(6,"导入成功");

    private Integer code;
    private String message;

    ExcelEnum() {
    }

    ExcelEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
